[INFO] cloning repository https://github.com/TransientWang/rust_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TransientWang/rust_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransientWang%2Frust_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransientWang%2Frust_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58e1b392dda71735317f2ad4e8e0d760d8913253
[INFO] checking TransientWang/rust_demo against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransientWang%2Frust_demo" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TransientWang/rust_demo on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TransientWang/rust_demo
[INFO] finished tweaking git repo https://github.com/TransientWang/rust_demo
[INFO] tweaked toml for git repo https://github.com/TransientWang/rust_demo written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/TransientWang/rust_demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 917f4056ddb9e0d875a7a9603ae84e51c47d419fa20157646a6d8ed783201830
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "917f4056ddb9e0d875a7a9603ae84e51c47d419fa20157646a6d8ed783201830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "917f4056ddb9e0d875a7a9603ae84e51c47d419fa20157646a6d8ed783201830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "917f4056ddb9e0d875a7a9603ae84e51c47d419fa20157646a6d8ed783201830", kill_on_drop: false }`
[INFO] [stdout] 917f4056ddb9e0d875a7a9603ae84e51c47d419fa20157646a6d8ed783201830
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9fcf17c5c17f45c529b8d775eb5132b32dcb110e7c430a00c1475ea3cd2bb017
[INFO] running `Command { std: "docker" "start" "-a" "9fcf17c5c17f45c529b8d775eb5132b32dcb110e7c430a00c1475ea3cd2bb017", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `test`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use test::Concurrent::No;
[INFO] [stdout]   |     ^^^^ use of undeclared type or module `test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `test`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use test::Concurrent::No;
[INFO] [stdout]   |     ^^^^ use of undeclared type or module `test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `string` in this scope
[INFO] [stdout]    --> src/main.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |       Write(string),
[INFO] [stdout]     |             ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `coin` in this scope
[INFO] [stdout]    --> src/main.rs:189:35
[INFO] [stdout]     |
[INFO] [stdout] 189 |     if let Coin::Quarter(state) = coin {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `string` in this scope
[INFO] [stdout]    --> src/main.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |       Write(string),
[INFO] [stdout]     |             ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `coin` in this scope
[INFO] [stdout]    --> src/main.rs:189:35
[INFO] [stdout]     |
[INFO] [stdout] 189 |     if let Coin::Quarter(state) = coin {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `UsState` doesn't implement `Debug`
[INFO] [stdout]    --> src/main.rs:163:50
[INFO] [stdout]     |
[INFO] [stdout] 163 |             println!("State quarter from {:?}!", state);
[INFO] [stdout]     |                                                  ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `UsState`
[INFO] [stdout]     = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `UsState` doesn't implement `Debug`
[INFO] [stdout]    --> src/main.rs:190:46
[INFO] [stdout]     |
[INFO] [stdout] 190 |         println!("State quarter from {:?}!", state);
[INFO] [stdout]     |                                              ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `UsState`
[INFO] [stdout]     = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `UsState` doesn't implement `Debug`
[INFO] [stdout]    --> src/main.rs:163:50
[INFO] [stdout]     |
[INFO] [stdout] 163 |             println!("State quarter from {:?}!", state);
[INFO] [stdout]     |                                                  ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `UsState`
[INFO] [stdout]     = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `UsState` doesn't implement `Debug`
[INFO] [stdout]    --> src/main.rs:190:46
[INFO] [stdout]     |
[INFO] [stdout] 190 |         println!("State quarter from {:?}!", state);
[INFO] [stdout]     |                                              ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `UsState`
[INFO] [stdout]     = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> src/main.rs:200:14
[INFO] [stdout]     |
[INFO] [stdout] 197 | /     match x {
[INFO] [stdout] 198 | |         None => None,
[INFO] [stdout]     | |                 ---- this is found to be of type `Option<i32>`
[INFO] [stdout] 199 | |         Some(i) => Some(i + 1),
[INFO] [stdout]     | |                    ----------- this is found to be of type `Option<i32>`
[INFO] [stdout] 200 | |         _ => (),
[INFO] [stdout]     | |              ^^ expected enum `Option`, found `()`
[INFO] [stdout] 201 | |     }
[INFO] [stdout]     | |_____- `match` arms have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Option<i32>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> src/main.rs:200:14
[INFO] [stdout]     |
[INFO] [stdout] 197 | /     match x {
[INFO] [stdout] 198 | |         None => None,
[INFO] [stdout]     | |                 ---- this is found to be of type `Option<i32>`
[INFO] [stdout] 199 | |         Some(i) => Some(i + 1),
[INFO] [stdout]     | |                    ----------- this is found to be of type `Option<i32>`
[INFO] [stdout] 200 | |         _ => (),
[INFO] [stdout]     | |              ^^ expected enum `Option`, found `()`
[INFO] [stdout] 201 | |     }
[INFO] [stdout]     | |_____- `match` arms have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Option<i32>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_demo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "9fcf17c5c17f45c529b8d775eb5132b32dcb110e7c430a00c1475ea3cd2bb017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fcf17c5c17f45c529b8d775eb5132b32dcb110e7c430a00c1475ea3cd2bb017", kill_on_drop: false }`
[INFO] [stdout] 9fcf17c5c17f45c529b8d775eb5132b32dcb110e7c430a00c1475ea3cd2bb017
